package com.good.domain.mapper;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.good.domain.entity.AdminLog;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

import java.time.LocalDateTime;
import java.util.HashMap;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author 大钊
 * @since 2022-09-04
 */
public interface AdminLogMapper extends BaseMapper<AdminLog> {

    IPage<HashMap<String, Object>> pageInfo(IPage<HashMap<String, Object>> page, @Param("uid") Long uid,
                                            @Param("startTime") LocalDateTime startTime,
                                            @Param("endTime")LocalDateTime endTime,
                                            @Param("moduleId") Integer moduleId,
                                            @Param("keywords")String keywords);
}
